#include <iostream>
#include "tdeapporo.h"
using namespace std;

int
main()
{
/************************************************/
/***************** Max y Min 				*/
/************************************************/

	TDeapPoro a;
        TPoro r1;
        TPoro r2;

  	TPoro p1(1,2,1,"rojo");
  	TPoro p2(1,2,2,"rojo");
  	TPoro p3(1,2,3,"rojo");
  	TPoro p4(1,2,4,"rojo");
  	TPoro p5(1,2,5,"rojo");
  	TPoro p6(1,2,6,"rojo");
  	TPoro p7(1,2,7,"rojo");

	a.Insertar(p5);
	a.Insertar(p2);
	a.Insertar(p1);
	a.Insertar(p3);
	a.Insertar(p6);

	r1 = a.Max();
      cout <<"Maximo = "<<r1<<endl;

	r2 = a.Min();
      cout <<"Minimo = "<<r2<<endl;

  return 1; 
}
